package com.syygl.webstudy.controller;

import com.syygl.webstudy.service.ServiceTest2;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test")
public class TestController {

    @Autowired
    ServiceTest2 serviceTest2;


    @RequestMapping("/test")
    public void test(){
        serviceTest2.test2();
    }
}
